﻿using Xunit;

using Unity.Commons.Exceptions;

namespace Unity.Commons.Tests.Exceptions
{
    public class ExceptionMessageTest
    {

        [Fact]
        public void ByCodeTest()
        {
            Assert.Equal("Illegal argument error", ExceptionMessage.ByCode(ErrorCode.IllegalArgument));
        }
    }
}
